/* 滚动条 */

/*滚动条宽度*/
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}

/* 轨道样式 */
::-webkit-scrollbar-track {}


/* Handle样式 */
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(194, 194, 194, 0.4);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 6px;
  background: rgba(194, 194, 194, 0.8);
}

::-webkit-scrollbar-thumb:vertical {
  background-color: rgb(194, 194, 194);
}

/*hover到滚动条上*/
::-webkit-scrollbar-thumb:vertical:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/*滚动条按下*/
::-webkit-scrollbar-thumb:vertical:active {
  background-color: rgba(0, 0, 0, 0.6);
}

.flex {
  display: flex;
  align-items: center;
}

// 溢出隐藏
.single-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// 多行溢出隐藏
.multi-ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.common-title {
  position: relative;
  font-weight: 500;
  font-size: 19px;
  line-height: 50px;
  color: #21293C;
  height: 50px;
  width: 100%;
  padding: 0 24px;
  border-bottom: 1px solid #edeeef;

  .iconfont {
    position: absolute;
    left: 24px;
    top: 9px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background .3s;
    font-size: 22px;

    &:hover {
      background: rgba(75, 88, 124, 0.08);
    }
  }

  .title {
    text-align: center;
  }
}


.preview-title {
  font-size: 24px;
  padding: 24px 32px;
}

.preview-time {
  font-size: 13px;
  color: #67788A;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.md-editor-preview-wrapper {
  padding: 10px 32px !important;
}

.content-containter {
  display: flex;
  width: 1228px;
  margin: 20px auto
}


.site-container {
    min-width: 1190px;
    margin: auto
}


@media screen and (max-width: 980px) {
    .site-container {
        width:100%;
        min-width: 100%!important;
        overflow-x: hidden
    }
}

.content-body {
 
  width: 700px;;
  background: #fff;
}

html {
  font-size: 16px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased
}

body,html {
  -webkit-tap-hightlight-color: transparent;
  font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,STHeiti,Microsoft Yahei,Tahoma,Simsun,sans-serif;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: #f2f6f9
}

*,:after,:before,html {
  box-sizing: border-box
}

h1,h2,h3,h4,h5,h6,strong {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block
}

li,ol,ul {
  list-style: none
}

blockquote,q {
  quotes: none
}

blockquote:after,blockquote:before,q:after,q:before {
  content: "";
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

body,html {
  -webkit-tap-hightlight-color: transparent;
  font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,STHeiti,Microsoft Yahei,Tahoma,Simsun,sans-serif;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: #f2f6f9
}

* {
  box-sizing: border-box
}

li,ol,ul {
  margin: 0;
  padding: 0;
  list-style-type: none
}

img {
  border: 0;
  vertical-align: middle
}

a,a:active,a:focus,a:hover {
  text-decoration: none;
  outline: none
}

p {
  font-size: 16px
}

::selection {
  color: #fff;
  background-color: #00a6f4
}

::-moz-selection {
  color: #fff;
  background-color: #00a6f4
}

img {
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px
}

::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: hsla(0,0%,76.1%,.4);
  box-shadow: 0 0 1px hsla(0,0%,100%,.5)
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 6px;
  background: hsla(0,0%,76.1%,.8)
}

::-webkit-scrollbar-thumb:vertical {
  background-color: #c2c2c2
}

::-webkit-scrollbar-thumb:vertical:hover {
  background-color: rgba(0,0,0,.3)
}

::-webkit-scrollbar-thumb:vertical:active {
  background-color: rgba(0,0,0,.6)
}

.github-markdown-body ul li,.vuepress-markdown-body ul li {
  list-style: disc!important;
  margin-left: 30px!important
}

.github-markdown-body ol li,.vuepress-markdown-body ol li {
  list-style: decimal!important;
  margin-left: 30px!important
}

body.fixed {
  overflow-y: hidden;
  padding-right: 6px
}

@media screen and (max-width: 980px) {
  body {
      padding:0!important;
      margin: 0!important
  }
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  fill: currentColor;
  overflow: hidden
}

